if [ ! -e /usr/bin/yum ]
then
    echo "No yum command!"
else
    #echo "yum ok"
    yum -y install python3
    if [ ! -e /usr/bin/pip3 ]
    then
        echo "No pip3 command!"
    else
        pip3 install -i https://pypi.douban.com/simple pip -U
	pip3 config set global.index-url https://pypi.douban.com/simple
	pip3 -V
    fi
fi
